package com.blogspot.wanyancan.client;


import com.blogspot.wanyancan.client.image.ImagePanel;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.TabPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class MyForm implements EntryPoint {
	/**
	 * This is the entry point method.
	 */
	final TabPanel tab = new TabPanel();
	public void onModuleLoad() {
		tab.add(new Uploadit(), "Uploat_Test");
		tab.add(new ImagePanel(10), "Image_Test");
		tab.add(new FancyFileUpload(), "fancy_upload");
		tab.selectTab(0);
		tab.setWidth("100%");
		tab.setHeight("100%");
		RootPanel.get("bodyslot").add(tab);
	}

}
